package com.dotflat.docs.controller;

import com.dotflat.docs.domain.DocumentDirectory;
import com.dotflat.docs.po.DocumentDirectoryPO;
import com.dotflat.docs.service.DocumentDirectoryService;
import com.dotflat.rest.controller.RestfulBaseController;

import com.starinside.wp.foundation.dto.StaffDTO;
import com.starinside.wp.foundation.model.StatusResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.ArrayList;
import java.util.List;

@RestController
@RequestMapping("/api/document_dir")
@Slf4j
@Api(tags = "文档资料 - 目录")
public class APIDocDirController extends RestfulBaseController<DocumentDirectory, DocumentDirectoryService, DocumentDirectoryPO> {

    @Autowired
    public void setBaseService(DocumentDirectoryService service){
        super.setBaseService(service);
    }

}
